Default implementation of a logger outputing the logged information to a file. More...
Public Member Functions | |
| FileLogger (const StringView &filePath) | |
| ~FileLogger () | |
| StringView | getOutputFilePath () const |
| void | setOutputFilePath (const StringView &path) |
| virtual void | log (const StringView &message, const StringView &className) override |
Public Member Functions inherited from nkLog::Logger | |
| Logger () | |
| virtual | ~Logger () |
Default implementation of a logger outputing the logged information to a file.
| nkLog::FileLogger::FileLogger | ( | const StringView & | filePath | ) |
Constructor.
| nkLog::FileLogger::~FileLogger | ( | ) |
Destructor.
| StringView nkLog::FileLogger::getOutputFilePath | ( | ) | const |
| void nkLog::FileLogger::setOutputFilePath | ( | const StringView & | path | ) |
Allows to change the output file path.
| path | The path of the file the logger should be writing to. |
|
overridevirtual |
See nkLog::Logger::log().
Implements nkLog::Logger.